#include <stdio.h>
#include <math.h>

double f(int x)
{
    return sqrt(6 * x + 2);
}

int main()
{
    double sum = 0;
    int x;
    for (x = 0; x <= 1000; x += 50)
    {
        sum += f(x);
        printf("%.4lf %.4lf\n", f(x), sum);
    }
    return 0;
}
